//
// Created by admin on 2023/2/1.
//

#include <jni.h>

#include <string>

extern "C" JNIEXPORT jstring JNICALL
Java_com_example_robertluozizhao_framecollectdemo_activity_JniTestActivity_testToStr(JNIEnv* env,
                                                 jobject /* this */) {
  std::string hello = "Hello from JNI 123";
  return env->NewStringUTF(hello.c_str());
}